/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.anhndt.audiobook.iface;

import com.anhndt.audiobook.entity.ItemEntity;

/**
 *
 * @author Sun
 */
public interface IMediaListener {
    public static int IO_EXCEPTION = 0;
    public static int MEDIA_EXCEPTION = 1;
    public void updateStatus();
    public void updateTime();
    public void updateVolume(int volume);
    public void updateProgress(float progress);
    public void updateSecondaryProcess(float secondaryProgress);
    public void endOfSong();
    public void downloading(boolean isDownloading);
    public void exception(int exception);
}
